package 代理模式;

/**
 * 文 件 名 称：Tenant.
 * 文 件 说 明：用户
 * 创   建   人：zpen.
 * 创 建 时 间：2018/5/9 11:26.
 */
public class Tenant implements Customer {
    private String name;
    private String condition;

    public Tenant(String name, String condition) {
        this.name = name;
        this.condition = condition;
    }

    public Tenant() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    @Override
    public void business(){
            System.out.println(name+"要买一栋"+condition+"的房子！");
    }
}
